﻿<%@ Page language="c#"%>
 <%		
		string FolderToSave = Server.MapPath("") + "\\UploadedFiles\\";
		if(Request.Files != null && Request.Files.Count > 0)	
		{
			HttpPostedFile myFile = Request.Files[0];
			if(myFile != null && myFile.FileName !="")
			{
				myFile.SaveAs(FolderToSave + System.IO.Path.GetFileName(myFile.FileName));
				Response.Write("File " + myFile.FileName + " was successfully uploaded.");
			}
		}
		Response.Write("<br>"); //At least one symbol should be sent to response!!!			
%>
